/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bean;

import com.model.ChartData;
import com.model.EmployeeModel;
import com.model.EventLibraryModel;
import javax.inject.Named;
import javax.enterprise.context.RequestScoped;
import javax.faces.bean.ManagedProperty;

/**
 *
 * @author Tuan Long
 */
@Named(value = "test")
@RequestScoped
public class test {

    private String email;
    private String password;
    @ManagedProperty(value = "txtName")
    private String txtName;

    public String getTxtName() {
        return txtName;
    }

    public void setTxtName(String txtName) {
        this.txtName = txtName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public test() {
    }

    public void getEminfoById(){
        EmployeeModel model = new EmployeeModel();
        model.getAllEmployee();
    }

    public void TEST(){
        EventLibraryModel model = new EventLibraryModel();
        model.fillTotalEventTypeTable();
    }
}
